package Work1;

public class Demo1 {
    public static void main(String[] args) {
        Zi z = new Zi();
        z.method();
    }
}

 class Fu{
    int num  = 10;
}

class Zi extends  Fu{
    int num =20;

    public void method(){
        int num=30;
        System.out.println(num);
        System.out.println(this.num);
        System.out.println(super.num);
    }
}
